package com.mop.springcloud.corebase.listener;

import org.springframework.context.ConfigurableApplicationContext;

/**
 * Class Name: ShutdownListener
 * Create Date: 18-3-15 下午1:05
 * Creator: Chim·Zigui
 * Version: v1.0
 * Updater:
 * Date Time:
 * Description:
 */
public interface ShutdownListener {
    void beforeShutdown(ConfigurableApplicationContext context);

    void onShutdown(ConfigurableApplicationContext context);

    void stopped(ConfigurableApplicationContext context);
}
